package org.zhu.common.bean.vo;


import org.zhu.common.bean.Category;
import org.zhu.common.bean.FreightModel;

/**
 * Created by zhu yingzhi on 2017/9/19.
 * @author yingzhi zhu
 * 商品前台展示Vo对象
 */
public class GoodsListVo {
    /**
     * 商品id
     */
    private Long id;
    /**
     * 实体分类
     */
    private Category category;
    /**
     * 商品货号
     */
    private String goods_sn;
    /**
     * 商品名
     */
    private String goods_name;
    /**
     * 商品库存
     */
    private String goods_number;
    /**
     * 商品重量
     */
    private double goods_weight;
    /**
     * 销量
     */
    private int sales;
    /**
     * 商品价格
     */
    private double price;
    /**
     * 会员价格
     */
    private double member_price;
    /**
     * 商品主图片
     */
    private String pic_main;
    /**
     * 热品排序 0为不是热品
     */
    private int hot_sort;
    /**
     * 精品排序 0为不是精品
     */
    private int best_sort;
    /**
     * 新品排序 0为不是新品
     */
    private int new_sort;
    /**
     * 是否促销
     */
    private boolean is_promote;
    /**
     * 是否上架
     */
    private boolean is_shelve;
    /**
     * 运费模板
     */
    private FreightModel freightModel;


    public double getGoods_weight() {
        return goods_weight;
    }

    public void setGoods_weight(double goods_weight) {
        this.goods_weight = goods_weight;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public String getGoods_sn() {
        return goods_sn;
    }

    public void setGoods_sn(String goods_sn) {
        this.goods_sn = goods_sn;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public boolean isIs_shelve() {
        return is_shelve;
    }

    public void setIs_shelve(boolean is_shelve) {
        this.is_shelve = is_shelve;
    }

    public String getGoods_number() {
        return goods_number;
    }

    public void setGoods_number(String goods_number) {
        this.goods_number = goods_number;
    }

    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getMember_price() {
        return member_price;
    }

    public void setMember_price(double member_price) {
        this.member_price = member_price;
    }

    public String getPic_main() {
        return pic_main;
    }

    public void setPic_main(String pic_main) {
        this.pic_main = pic_main;
    }

    public int getHot_sort() {
        return hot_sort;
    }

    public void setHot_sort(int hot_sort) {
        this.hot_sort = hot_sort;
    }

    public int getBest_sort() {
        return best_sort;
    }

    public void setBest_sort(int best_sort) {
        this.best_sort = best_sort;
    }

    public int getNew_sort() {
        return new_sort;
    }

    public void setNew_sort(int new_sort) {
        this.new_sort = new_sort;
    }

    public boolean isIs_promote() {
        return is_promote;
    }

    public void setIs_promote(boolean is_promote) {
        this.is_promote = is_promote;
    }

    public FreightModel getFreightModel() {
        return freightModel;
    }

    public void setFreightModel(FreightModel freightModel) {
        this.freightModel = freightModel;
    }
}
